﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Item.aspx.cs" Inherits="Web.Admin.NavItem.Item" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <br />
    <a href="Item_Add.aspx">添加</a>
    <br />
    <table width="800" cellpadding="10" cellspacing="0" border="1">
        <asp:Repeater ID="Repeater1" runat="server" 
            onitemcommand="Repeater1_ItemCommand">
        <HeaderTemplate>
        <tbody>
            <tr>
                <th>编号</th>
                <th>导航名称</th>
                <th>导航链接</th>
                <th>类别集合</th>
                <th>删除</th>
                <th>修改</th>
            </tr>
         </tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%# DataBinder.Eval(Container.DataItem, "TitleID")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "TitleName")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "TitleUrl")%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "TitleTypeIds")%></td>
                <td>
                    <asp:LinkButton ID="lbtdelete" runat="server" Text="删除" CommandName="remove" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "TitleID")%>'></asp:LinkButton>
                </td>
                <td>
                    <a href="Tags_Modify.aspx?id=<%# DataBinder.Eval(Container.DataItem, "TitleID")%>">修改</a>
                </td>
            </tr>
        </ItemTemplate>
        </asp:Repeater>
    </table>
    </div>
    </form>
</body>
</html>
